package metalink.admin;

import java.util.ArrayList;

import model.admin.ModifyCoursesMo;

import vo.mixed.CourseListVo;

import com.opensymphony.xwork2.ActionSupport;

public class ModifyCourse extends ActionSupport{
	int course_id;
	ArrayList<CourseListVo> courselist = new ArrayList<CourseListVo>();
	public String deleteCourseDetails(){
		
		return SUCCESS;
	}
	public String execute(){
		ModifyCoursesMo coursemo = new ModifyCoursesMo();
		courselist= coursemo.getSingleCourseList(course_id);
		return SUCCESS;
	}
	public int getCourse_id() {
		return course_id;
	}
	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}
	public ArrayList<CourseListVo> getCourselist() {
		return courselist;
	}
	public void setCourselist(ArrayList<CourseListVo> courselist) {
		this.courselist = courselist;
	}

}
